package com.kehutong.contact.enums;

import org.coraframework.util.HashID;

/**
 * 房屋类型
 * @author 刘坤龙
 */
public enum HouseType implements HashID {
    HOUSE("1", "房屋", "ZH"),
    SHOP("2", "商铺", "SH"),
    PARKING("3", "车位", "CH")
    ;
    private final String id;
    private final String desc ;
    private final String code ;

    private HouseType(String id, String desc, String code) {
        this.id = id;
        this.desc = desc ;
        this.code = code;
    }

    @Override
    public String getId() {
        return id;
    }

    @Override
    public String getDesc() {
        return desc;
    }

    public String getCode() {
        return code;
    }
}
